from django.conf.urls import url
from apps.courses.views import TeacherView,TeacherDetailView

urlpatterns = [
    url(r'^list/$', TeacherView.as_view(), name='list'),
    url(r'^(?P<teacher_id>\d+)/detail/$', TeacherDetailView.as_view(), name='detail'),

]